IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'spTdocin_Delete')
	BEGIN
		PRINT 'Dropping Procedure spTdocin_Delete'
		DROP  Procedure  spTdocin_Delete
	END

GO

PRINT 'Creating Procedure spTdocin_Delete'
GO
CREATE Procedure dbo.spTdocin_Delete
	(
	  @d_folder   varchar(50)
	)
AS
  /* 
    ------------------------------------------------------------------------------
    - Change History
    - --------------
    - Date          Description
    ------------------------------------------------------------------------------
    - 9/27/2007    Initial version created
    ------------------------------------------------------------------------------
  */

	-- Declare the required variables

	-- Delete the required record
	DELETE FROM Tdocin	
	WHERE d_folder = @d_folder
	

	-- Return to calling method
	RETURN 

GO
